package com.bifang.module.file.common.vo.fileFieldClass;

import com.bifang.assistant.common.vo.BasePageVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件元数据字段分类表QueryVO
 *
 * @author xyh
 * @since 2023-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "FileFieldClassQueryVO", title = "文件元数据字段分类表查询VO", description = "文件元数据字段分类表查询实体类")
public class FileFieldClassQueryVO extends BasePageVO {

    @Schema(name = "fieldClassId", title = "文件字段分类id")
    private Long fieldClassId;

    @Schema(name = "fieldId", title = "文件附加字段id")
    private Long fieldId;

    @Schema(name = "fileClassCode", title = "文件分类编号")
    private String fileClassCode;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "appId", title =  "应用id")
    private Long appId;

    @Schema(name = "fieldName", title =  "中文字段")
    private String fieldName;

    @Schema(name = "archivesClassCode", title =  "对应档案编号")
    private String archivesClassCode;

    @Schema(name = "secrecyLevel", title =  "保密级别")
    private String secrecyLevel;

    ///////////////
    @Schema(name = "classTitle",title = "分类标题")
    private String classTitle;

    @Schema(name = "parentCode",title = "父类编号")
    private String parentCode;

    @Schema(name = "parentClassTitle",title = "父级分类")
    private String parentClassTitle;

    @Schema(name = "fileEnvId",title = "文件环境主键")
    private Long fileEnvId;

    @Schema(name = "fileEnvName",title = "文件环境名称")
    private String fileEnvName;

    @Schema(name = "status",title = "有效状态 0 无效 1有效")
    private String status;

    @Schema(name = "fielderShow",title = "是否需要归档 0 不需要 1需要")
    private String fielderShow;

    @Schema(name = "orgId",title = "组织id")
    private String orgId;

    @Schema(name = "orgName",title = "组织名称")
    private String orgName;

    @Schema(name = "fileClassPath",title = "文件存放路径")
    private String fileClassPath;

    @Schema(name = "encryptionFlag",title = "是否加密，0 否 1 是")
    private String encryptionFlag;

    @Schema(name = "maxSize",title = "文件大小限制")
    private Long maxSize;

    @Schema(name = "fileType",title = "文件类型限制")
    private String fileType;

}
